package com.fs.util;

import com.fs.constant.SystemConstant;

import javax.servlet.http.HttpServletRequest;


/**
 * 验证码工具类
 */
public class VerifycodeUtil {
    //获取session中的验证码,
    public static String getCode(HttpServletRequest request){
      return   (String)request.getSession().getAttribute(SystemConstant.CHECKCODE_SERVER);
    }
}
